package com.smarthealthcare.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.smarthealthcare.common.annotation.Excel;
import com.smarthealthcare.common.core.domain.BaseEntity;
import com.smarthealthcare.doctor.domain.Identity;

/**
 * 医生列表对象 doctor
 * 
 * @author tuanzi
 * @date 2024-11-22
 */
public class Doctor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 医生编号 */
    @Excel(name = "医生编号")
    private String number;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 图片 */
    @Excel(name = "图片")
    private String picture;

    /** 身份 */
    @Excel(name = "身份")
    private Long identityId;

    /** 科室 */
    @Excel(name = "科室")
    private Long departmentId;

    /** 从业经验 */
    @Excel(name = "从业经验")
    private Long year;

    /** 所属民族 */
    @Excel(name = "所属民族")
    private String nation;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String card;

    /** 在职状态 */
    @Excel(name = "在职状态")
    private String state;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 出勤状态 */
    @Excel(name = "出勤状态")
    private String attendance;

    /** 休假 */
    @Excel(name = "休假")
    private String holiday;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long del;

    /** 身份 */
    @Excel(name = "身份")
    private Identity identity;
    /** 科室 */
    @Excel(name = "科室")
    private Department department;

    public Identity getIdentity() {
        return identity;
    }

    public void setIdentity(Identity identity) {
        this.identity = identity;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setIdentityId(Long identityId) 
    {
        this.identityId = identityId;
    }

    public Long getIdentityId() 
    {
        return identityId;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setYear(Long year) 
    {
        this.year = year;
    }

    public Long getYear() 
    {
        return year;
    }
    public void setNation(String nation) 
    {
        this.nation = nation;
    }

    public String getNation() 
    {
        return nation;
    }
    public void setCard(String card) 
    {
        this.card = card;
    }

    public String getCard() 
    {
        return card;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAttendance(String attendance) 
    {
        this.attendance = attendance;
    }

    public String getAttendance() 
    {
        return attendance;
    }
    public void setHoliday(String holiday) 
    {
        this.holiday = holiday;
    }

    public String getHoliday() 
    {
        return holiday;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("number", getNumber())
            .append("name", getName())
            .append("sex", getSex())
            .append("age", getAge())
            .append("picture", getPicture())
            .append("identityId", getIdentityId())
            .append("departmentId", getDepartmentId())
            .append("year", getYear())
            .append("nation", getNation())
            .append("card", getCard())
            .append("state", getState())
            .append("phone", getPhone())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("attendance", getAttendance())
            .append("holiday", getHoliday())
            .append("del", getDel())
            .toString();
    }
}
